//
//  XJSecKillGoodsView.h
//  XinJiangMall
//
//  Created by RaoBo on 2018/7/9.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SeckillGoodsModel.h"

typedef void(^XJSecKillGoodsViewClickItemBlock)(SeckillGoodsModel *secKillModel);
@interface XJSecKillGoodsView : UIView

@property (nonatomic, copy)XJSecKillGoodsViewClickItemBlock xjsecKillGoodsViewClickItemBlock;

/**数据源*/
@property(nonatomic, strong) NSMutableArray *dataArray;

/**定时器无效*/
- (void)xjskGoodsViewInvalidTime;


@end





#pragma mark - 接口返回数据参考
// 秒杀商品接口: http://xinjiangapi.zertone1.com/api/v1/home/seckill_list?lat=30.194887&lng=120.189538&page=1&page_size=10
/**
 {
 "code": 0,
 "data": {
 "seckill_list": [{
 "cover": "http://static.zertone1.com/rg9f1WnVj7xTCvmEMsCelZwqYxE6hDZT.png",
 "start_time": 1531129440000,
 "price": 12.00,
 "name": "测试三",
 "end_time": 1532102400000,
 "market_price": 12.00,
 "id": 214,
 "goods_type": 2
 }, {
 "cover": "http://static.zertone1.com/t3l9b5C5kR0WAiei6cS1V3vqmTNXJlpS.png",
 "start_time": 1531129440000,
 "price": 12.00,
 "name": "测试二",
 "end_time": 1532102400000,
 "market_price": 12.00,
 "id": 213,
 "goods_type": 2
 }, {
 "cover": "http://static.zertone1.com/Fcq4bKTiQMwYsN3Vqns9DN4g7sJnGHod.png",
 "start_time": 1531129440000,
 "price": 12.00,
 "name": "测试一",
 "end_time": 1532102400000,
 "market_price": 12.00,
 "id": 212,
 "goods_type": 2
 }, {
 "cover": "http://static.zertone1.com/suS4Ck37c2rVAmL8SAkOVyZ9GS7efUYj.png",
 "start_time": 1531497600000,
 "price": 1.00,
 "name": "1",
 "end_time": 1531152000000,
 "market_price": 1.00,
 "id": 211,
 "goods_type": 2
 }]
 }
 }
 */
